package com.neborosoft.lib.threading;

import android.os.AsyncTask;

/**
 * Created with IntelliJ IDEA.
 * User: CM
 * Date: 08.01.13
 * Time: 22:14
 * To change this template use File | Settings | File Templates.
 */
public interface AsyncTaskQueue<Params> {
    <Progress,Result> void addAndExecute(AsyncTask<Params,Progress,Result> asyncTask, Params... params);
    <Progress,Result> void removeAndCancel(AsyncTask<Params,Progress,Result> asyncTask);
}
